package com.lecture.javamode.oberver;


import com.google.common.eventbus.Subscribe;

/**
 * 给用户发送代金券类
 * @author 72879
 */
public class RegPromotionObserver {

    @Subscribe
    public void handleRegSuccess(Long userId) {
        System.out.println("给用户id为：" + userId + "发送代金券");
    }
}
